//
//  WCNewTargetModel.m
//  WabbitCode
//
//  Created by William Towe on 3/28/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import "WCNewTargetModel.h"


@implementation WCNewTargetModel
- (void)dealloc {
	[_name release];
	[super dealloc];
}

- (BOOL)isLeaf {
	return YES;
}

- (id)valueForUndefinedKey:(NSString *)key {
	return nil;
}

@synthesize name=_name;

- (id)initWithName:(NSString *)name; {
	if (!(self = [super init]))
		return nil;
	
	_name = [name copy];
	
	return self;
}

+ (WCNewTargetModel *)newTargetModelWithName:(NSString *)name; {
	return [[[[self class] alloc] initWithName:name] autorelease];
}
@end
